package com.cqcetbbs.smartlab.cqcetbbs.javabean;

import java.util.ArrayList;

/**
 * Created by user on 2017/11/4.
 */

public class SearchInfo {

    /**
     * data : [{"article_id":"087cb4c8f636315a8dafe89102c656c0","title":"reer","desc":"","up_time":"2017-10-15 16:45:38","author":""},{"article_id":"0a12859b96ff12782069c9244c5427e6","title":"校园","desc":"","up_time":"2017-10-26 15:11:42","author":""},{"article_id":"0a30cd006ccdf25b52f70dff6431ca6f","title":"","desc":"","up_time":"2017-10-15 16:18:00","author":""},{"article_id":"0d9e0433fddade31c826fee95938b25e","title":"study","desc":"","up_time":"2017-10-30 14:47:22","author":""},{"article_id":"0e684b66ee1ff18a87c0d51962689633","title":"册册册","desc":"","up_time":"2017-10-27 16:46:44","author":""},{"article_id":"1380d4a537a02f6b075cfdabcd7d2fab","title":"交易市场","desc":"交易","up_time":"2017-10-30 14:39:35","author":""},{"article_id":"2139afbcf9492d8681f2ced482cc56ec","title":"","desc":"","up_time":"2017-10-20 14:01:08","author":""},{"article_id":"215616asd","title":"早安心语：生命只有一次，一定要对自己好","desc":"1","up_time":"2017-10-13 15:07:25","author":"admin1"},{"article_id":"232e661003abd612e55c85211a9d688b","title":"job123","desc":"123","up_time":"2017-10-30 14:38:58","author":""},{"article_id":"2362eca6e4ec4cda26fa3ea98fde3e93","title":"","desc":"","up_time":"2017-11-04 15:16:38","author":""}]
     * code : 1
     */

    private int code;
    private ArrayList<SearchData> data;

    public void setCode(int code) {
        this.code = code;
    }

    public void setData(ArrayList<SearchData> data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public ArrayList<SearchData> getData() {
        return data;
    }

    public static class SearchData {
        /**
         * article_id : 087cb4c8f636315a8dafe89102c656c0
         * title : reer
         * desc :
         * up_time : 2017-10-15 16:45:38
         * author :
         */

        private String article_id;
        private String title;
        private String desc;
        private String up_time;
        private String author;

        public void setArticle_id(String article_id) {
            this.article_id = article_id;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public void setUp_time(String up_time) {
            this.up_time = up_time;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public String getArticle_id() {
            return article_id;
        }

        public String getTitle() {
            return title;
        }

        public String getDesc() {
            return desc;
        }

        public String getUp_time() {
            return up_time;
        }

        public String getAuthor() {
            return author;
        }
    }
}
